<div class="hfeed">
	<?php foreach($posts as $post) : ?>
		<div id="post-<?php e($post['Post']['id']);?>" class="hentry post">
			<h1 class="entry-title"><?php e($html->link($post['Post']['title'], '/posts/view/' . $post['Post']['url'], array('rel'=>'bookmark')));?></h1>
			<span class="post-info">Posted by <?php e($html->link($post['User']['username'], '/users/view/' . $post['User']['id'], array('class'=>'author'))) ;?> on <abbr class="updated" title="<?php e($time->format('Y-m-d\TH:i:s\Z', $post['Post']['created']));?>"><?php e($time->format('D d M Y @ H:m',$post['Post']['created']));?></abbr></span>
			<div style="display:none" class="entry-summary"><?php e($post['Post']['byline']);?></div>
			<div class="post-body entry-content">
				<?php e($post['Post']['body']);?>
			</div>	
		</div>
		<?php if($enable_comments == 1) { ?>
			<div class="comments">
					<?php e($html->link('Comments (' . $num_comments[$post['Post']['id']] . ')', '/posts/view/' . $post['Post']['url'] . '#comments'));?>
			</div>
			<?php } ?>
	<?php endforeach; ?>
</div>

<div id="paginate">
	<span class="previous">
		<?php e($paginator->prev('<< Previous', null, null, array('class' => 'disabled'))); ?>
	</span>
	<span class="next">
		<?php e($paginator->next('Next >>', null, null, array('class' => 'disabled'))); ?>
	</span>
	<br style="clear" />
</div>